﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;

namespace Sinacor.Infra.Core.Licensing.LicensingPrincipal
{
    [Serializable]
    public class LicensingPrincipal : WindowsPrincipal
    {
        private LicensingValidator _validator;

        public LicensingPrincipal(WindowsIdentity identity): base(identity)
        {
        }

        public LicensingValidator Validator
        {
            get { return _validator; }
            set { _validator = value; }
        }
    }
}
